package com.wu.flandre_common.property;

public enum Operation {
    /**
     * Netty 引擎事件
     */
    START(0, "启动"),
    CLOSE(1, "关闭"),
    RESTART(2, "关闭"),
    MAIL(3, "发送邮件");

    private Integer id;
    private String name;

    Operation(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
